---
layout: single
property_name: outline-width
---

<section id="outline-width" class="property">
  <header class="property-header">
    <nav class="property-links">
      <a class="property-links-direct" href="{{site.url}}/property/outline-width/" data-property-name="outline-width" data-tooltip="Single page for this property">Permalink</a>
      <a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="outline-width">Share</a>
      <a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/outline-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
    </nav>
    <h2 class="property-name">
      <a href="#outline-width"><span>#</span>outline-width</a>
    </h2>
    <div class="property-description">
      <p>Defines the width of the element&#39;s outlines.</p>

    </div>

  </header>

    <style type="text/css">.outline-width { outline-style: solid; }</style>




    <section class="example">
      <header class="example-header">
        <p class="example-name">
            <code class="example-default" data-tooltip="This is the property's default value">default</code>


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="outline-width: medium;">outline-width: medium;</code>
        </p>
        <div class="example-description">
          <p>Defines the width of all outlines to <strong>medium</strong>.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div outline-width " id="outline-width-medium">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#outline-width-medium{ outline-width:medium;}</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="outline-width: 1px;">outline-width: 1px;</code>
        </p>
        <div class="example-description">
          <p>Defines the width of all outlines to <strong>1px</strong>.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div outline-width " id="outline-width-1px">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#outline-width-1px{ outline-width:1px;}</style>
    </section>

</section>
